Solving Program Sketches with Large Integer Values

نویسندگان

چکیده

Program sketching is a program synthesis paradigm in which the programmer provides partial with holes and assertions. The goal of synthesizer to automatically find integer values for so that resulting satisfies most popular tool, Sketch , can efficiently solve complex sketches but uses an encoding often performs poorly if sketched manipulates large values. In this article, we propose new solving technique allows handle while retaining its encoding. Our result from number theory, Chinese Remainder Theorem, rewrite only track remainders certain variable respect several prime numbers. We prove our transformation sound programs are exponentially more succinct than existing encodings. evaluate on variety benchmarks manipulating speedups against both solvers cannot handle.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Efficiently Solving: A Large-Scale Integer Linear Program Using a Customized Genetic Algorithm

Many optimal scheduling and resource allocation problems involve large number of integer variables and the resulting optimization problems become integer linear programs (ILPs) having a linear objective function and linear inequality/equality constraints. The integer restrictions of variables in these problems cause tremendous difficulty for classical optimization methods to find the optimal or...

متن کامل

Solving the Quorumcast Routing Problem as a Mixed Integer Program

The quorumcast routing problem is a generalization of multicasting which arises in many distributed applications. It consists of finding a minimum cost tree that spans the source node and at least q out of m specified nodes on a given undirected weighted graph. In this paper, we solve this problem as a mixed integer program. The experimental results show that our four approaches outperform the ...

متن کامل

Solving Bilevel Mixed Integer Program by Reformulations and Decomposition

In this paper, we study bilevel mixed integer programming (MIP) problem and present a novel computing scheme based on reformulations and decomposition strategy. By converting bilevel MIP into a constrained mathematical program, we present its single-level reformulations that are friendly to perform analysis and build insights. Then, we develop a decomposition algorithm based on column-and-const...

متن کامل

Solving Bilevel Mixed Integer Program by Reformulations and Decomposition

In this paper, we study bilevel mixed integer programming (MIP) problem and present a novel computing scheme based on reformulations and decomposition strategy. By converting bilevel MIP into a constrained mathematical program, we present its single-level reformulations that are friendly to perform analysis and build insights. Then, we develop a decomposition algorithm based on column-and-const...

متن کامل

Solving a nonlinear integer program for allocating resources

An algorithm for solving a nonlinear integer program for resource allocation is proposed. This algorithm is efficient and relatively simple. c © 2006 Elsevier Ltd. All rights reserved.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: ACM Transactions on Programming Languages and Systems

سال: 2022

ISSN: ['1558-4593', '0164-0925']

DOI: https://doi.org/10.1145/3532849